package top.swimmer.concurrent.thread;

public class InnerClassSingleton {
    private InnerClassSingleton() {}

    public static InnerClassSingleton getInstance() {
        return Holder.INSTANCE;
    }

    private static class Holder {
        private static final InnerClassSingleton INSTANCE = new InnerClassSingleton();
    }
}
